<?php
$this->breadcrumbs=array(
	Yii::t('base','Personal Information')=>array('index'),
	Yii::t('program','Batch Create'),
);

$this->menu=array(
	array('label'=>Yii::t('program','List Program'), 'url'=>array('index')),
	array('label'=>Yii::t('program','Manage Program'), 'url'=>array('admin')),
);
?>

<h1><?php echo CHtml::encode(Yii::t('personalInfo', 'Batch Create Personal Information')); ?></h1>


<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'personalInfo-batch-form-batchCreate-form',
	'enableAjaxValidation'=>false,
	'htmlOptions' => array('enctype' => 'multipart/form-data'),
)); ?>

	<p class="note"><?php
	echo Yii::t('base','Fields with <span class="required">*</span> are required.'); /* no CHtml::encode here*/?></p>

	<p class="note"><?php echo CHtml::encode(Yii::t('program',
	'Input format: csv, UTF-8 encoded, with format "name, department_id, length, year, introduction" per line (introduction can have multiple lines, by enclosing it in double quotes), leading & trailing whitespace ignored.')); ?></p>
	
	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'file'); ?>
		<?php echo $form->fileField($model,'file'); ?>
		<?php echo $form->error($model,'file'); ?>
	</div>


	<div class="row buttons">
		<?php echo CHtml::submitButton(Yii::t('base','Submit')); 
		 ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->